﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MVCQuick.Framework.Security
{
    /// <summary>
    /// 角色
    /// </summary>
    [Serializable]
    public class Role : EntityBase    
    {      
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }       

        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }       

        /// <summary>
        /// 应用程序
        /// </summary>
        public Application Application { get; set; }
       
        /// <summary>
        /// 
        /// </summary>
        public IList<User> Users { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Role()
        {
            Users = new List<User>();
        }        
    }
}